package com.tan.lbs.entity;
import java.util.UUID;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="Designer")
public class Designer{
	
	private String designerID;
	private String username;
	private String passwd;
	private String email;
	private String organizations;
	private int maxGameNumber;
	
	@Id 
	@GeneratedValue(generator = "uuid")
	@GenericGenerator(name = "uuid", strategy = "org.hibernate.id.UUIDGenerator")
	public String getDesignerID() {
		return designerID;
	}
	public void setDesignerID(String designerID) {
		this.designerID = designerID;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPasswd() {
		return passwd;
	}
	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getOrganizations() {
		return organizations;
	}
	public void setOrganizations(String org) {
		this.organizations = org;
	}
	public int getMaxGameNumber() {
		return maxGameNumber;
	}
	public void setMaxGameNumber(int maxNumber) {
		this.maxGameNumber = maxNumber;
	}
	
	
}
